package com.d2rv.guide;

import com.d2rv.model.InstructionModel;
import com.d2rv.offscreen.OffScreen3D;

/**
 * This abstract class is used to create guide instruction for the collaboration
 *
 * @author Darrieutort A., Dupouy A., Rossignol L., Van Poucke A.
 */
public abstract class Instruction {

    /**
     * 3D Instruction model corresponding to a sign to draw
     */
    protected InstructionModel instructionmodel;

    /**
     * Default constructor.
     *
     * @param instructionmodel model of the instruction
     */
    public Instruction(InstructionModel instructionmodel) {
        this.instructionmodel = instructionmodel;
    }

    /**
     * Abstract method to draw the instruction.
     *
     * @param parent
     */
    public abstract void draw(OffScreen3D parent);
}